package org.thirdHero.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.thirdHero.db.domain.SysCode;
import org.thirdHero.db.domain.SysCodeExample;

public interface SysCodeMapper {
    long countByExample(SysCodeExample example);

    int deleteByExample(SysCodeExample example);

    int deleteByPrimaryKey(String id);

    int insert(SysCode record);

    int insertSelective(SysCode record);

    SysCode selectOneByExample(SysCodeExample example);

    SysCode selectOneByExampleSelective(@Param("example") SysCodeExample example, @Param("selective") SysCode.Column ... selective);

    List<SysCode> selectByExampleSelective(@Param("example") SysCodeExample example, @Param("selective") SysCode.Column ... selective);

    List<SysCode> selectByExample(SysCodeExample example);

    SysCode selectByPrimaryKeySelective(@Param("id") String id, @Param("selective") SysCode.Column ... selective);

    SysCode selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SysCode record, @Param("example") SysCodeExample example);

    int updateByExample(@Param("record") SysCode record, @Param("example") SysCodeExample example);

    int updateByPrimaryKeySelective(SysCode record);

    int updateByPrimaryKey(SysCode record);
}